import App from './App'
import uView from '@/uni_modules/uview-ui'
import store from '@/store'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false

// Vue.prototype.baseUrl = 'http://159.75.206.134:8194';	// 开发环境
Vue.prototype.baseUrl = 'http://nfpready.y2t.com/miniapi';		// ready环境
// Vue.prototype.baseUrl = 'https://nfp.y2t.com/miniapi';		// 生产环境

App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
require('@/config/request.js')(app)
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif